/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.domain;

import hope.platform.data.domain.entity.TyphoonForecastInfo;
import hope.platform.data.domain.entity.TyphoonPoint;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * class info
 * @author Lizhangqing
 * @see
 * @since
 * Create at 2018/7/23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document
public class Typhoon implements Serializable {
    private static final long serialVersionUID = 1L;
    @Indexed
    private String tfbh;
    private String time;
    private String name;
    private String ename;
    private Integer year;
    private String levelColor;
    private Integer isCurrent;
    private TyphoonPoint point;
    private String remark;
    private List<TyphoonForecastInfo> forecast;
    private Date gmtCreate;
    private Date gmtModified;

    public String getTfbh() {
        return tfbh;
    }

    public void setTfbh(String tfbh) {
        this.tfbh = tfbh;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getLevelColor() {
        return levelColor;
    }

    public void setLevelColor(String levelColor) {
        this.levelColor = levelColor;
    }

    public Integer getIsCurrent() {
        return isCurrent;
    }

    public void setIsCurrent(Integer isCurrent) {
        this.isCurrent = isCurrent;
    }

    public TyphoonPoint getPoint() {
        return point;
    }

    public void setPoint(TyphoonPoint point) {
        this.point = point;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<TyphoonForecastInfo> getForecast() {
        return forecast;
    }

    public void setForecast(List<TyphoonForecastInfo> forecast) {
        this.forecast = forecast;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}
